package nccu.service.impl;


import nccu.dao.ExamReportDao;
import nccu.model.ExamReport;
import nccu.service.ExamReportManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("examReportManager")
public class ExamReportManagerImpl extends GenericManagerImpl<ExamReport, Long> implements ExamReportManager {

    ExamReportDao examReportDao;

    @Autowired
    public ExamReportManagerImpl(ExamReportDao examReportDao) {
        super(examReportDao);
        this.examReportDao = examReportDao;
    }
 
    public List<ExamReport> findById(Long id) {
        return examReportDao.findById(id);
    }
}